package com.swt.service.address.impl;

import java.util.List;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.swt.dao.AddressMapper;
import com.swt.pojo.Address;
import com.swt.service.address.AddressService;

/**
 * 地址服务实现层
 * @author ZPF
 */
@Service("addressService")
public class AddressServiceImpl implements AddressService {

	@Resource
	private AddressMapper addressMapper;

	@Override
	public Address selectByPrimaryKey(Integer id) {
		return addressMapper.selectByPrimaryKey(id);
	}

	@Override
	public List<Address> selectAddressList(Address address) {
		return addressMapper.selectAddressList(address);
	}
}
